//
//  XBSocialMessageObject.h
//  XBShare
//
//  Created by admin on 2018/5/14.
//  Copyright © 2018年 肖世恒. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface XBSocialMessageObject : NSObject

/**
 文本标题
 */
@property (nonatomic,copy)NSString* title;

/**
 内容的描述
 */
@property (nonatomic, copy) NSString  *descr;

/**
 web目标URL
 */
@property (nonatomic, strong) NSURL *webUrl;

/**
 分享内容的预览图像URL
 */
@property (nonatomic, strong) NSURL *previewURL;


@end

@interface XBSocialMessageNewObject : XBSocialMessageObject



/**
 新闻URL对象
 
 @param title 分享内容的标题
 @param description 享内容的描述
 @param webUrl web目标URL
 @param previewURL 分享内容的预览图像URL
 @return 如果url为空时将返回nil
 */
+ (id)objectWithTitle:(NSString*)title description:(NSString*)description WebUrl:(NSURL*)webUrl  previewImageURL:(NSURL*)previewURL;


@end


